import request from '@/utils/request'

export function pageList(query) {
  return request({
    url: 'authorizationItem/pageList',
    method: 'get',
    params: query
  })
}

// 增加
export function add(data) {
  return request({
    url: 'authorizationItem/add',
    method: 'post',
    data
  })
}

// 修改
export function renewal(data) {
  return request({
    url: 'authorizationItem/renewal',
    method: 'post',
    data
  })
}
